from core.student import Student
from core.employee import Employee
from core.faculties import Faculties
from core.classes import Classes

"""主函数，控制程序运行流程"""
while True:
    print("欢迎使用造梦智慧校园系统")
    print("1. 学生管理系统")
    print("2. 员工管理系统")
    print("3. 院系管理系统")
    print("4. 班级管理系统")
    print("5. 退出系统")
    choice = input("请输入功能序号: ")
    if choice == "1":
        Student.main()
    elif choice == "2":
        Employee.main()
    elif choice == "3":
        Faculties.main()
    elif choice == "4":
        Classes.main()
    elif choice == "5":
        print("感谢使用造梦智慧校园系统，再见！")
        break
    else:
        print("无效的选择，请重新输入！")
